package com.oms.app.food.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.oms.app.food.model.Food;
import com.oms.core.service.IGeneralService;

/**
 * @author Loong_Mit
 * @date Sep 1, 2012 6:30:14 PM
 */

public interface IFoodService extends IGeneralService<Food, String> {
	/**
	 * 获取所有店铺食物列表
	 * @param request
	 * @return
	 */
	List<Food> getFoodList(HttpServletRequest request);
	
	/**
	 * 增加商店食物信息
	 * @param foodForm
	 * @return
	 */
	boolean addFood(Food foodForm);
	
	/**
	 * 修改商家食物信息
	 * @param foodForm
	 * @return
	 * Administrator
	 */
	boolean updateFood(Food foodForm);
	
	/**
	 * 删除商家食物信息
	 * @param PK
	 * @return
	 * Administrator
	 */
	boolean deleteFood(String PK);
}